package per.jdz.register;

import per.jdz.common.URL;

import java.util.List;

/**
 * @description:
 * @Author: Jdz
 * @CreateTime: 2024-03-10 21:12
 */
public interface RegistryService {

    void register(URL url) throws Exception;

    void unRegister(URL url) throws Exception;

    List<URL> discoveries(String serviceName, String version) throws Exception;

    void subscribe(URL url) throws Exception;

    void unSubscribe(URL url);

}
